<#include "/decorator/header.ftl">
<link rel="stylesheet" href="${contextPath}resources/css/github.css">
<link rel="stylesheet" href="${contextPath}resources/css/wangEditor-1.3.13.2.css">
    <style>
    .nav-list {
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 0;
    }
    
    .nav-list .nav-header {
        margin-left: -15px;
    }
    
    .nav-header {
        padding: 3px 15px;
        color: #999999;
    }
    </style>
    <div class="container-fluid">
        <div class="row">
            <div class="col-lg-2 col-md-3 col-sm-3">
                <div class="panel panel-default" id="appTagPanel">
                    <div class="panel-heading">
                        <input type="text" class="form-control" placeholder="Filter by name">
                    </div>
                    <div class="panel-body" style="overflow: auto;">
                        <ul class="nav nav-list">
                        </ul>
                    </div>
                </div>
            </div>
            <div class="col-lg-10 col-md-9 col-sm-9">
                <div class="panel panel-default" id="appApiPanel"  disabled="true">
                    <nav class="navbar navbar-default" style="border-radius: 0; margin-bottom: 0;">
                        <div class="col-lg-3 col-md-3">
                            <div class="navbar-brand" style="padding: 15px 0px;"></div>
                        </div>
                        <div class="col-lg-6 col-md-7">
                            <div class="navbar-form">
                                <div class="input-group">
                                    <div class="input-group-btn" style="width: 1%;">
                                        <button class="btn btn-primary" data-usage="0">Web</button>
                                        <button class="btn btn-default" data-usage="1">Mobile</button>
                                    </div>
                                    <input type="text" class="form-control" placeholder="Fuzzy title of API">
                                    <div class="input-group-btn" style="width: 1%;">
                                        <button class="btn btn-info">Search</button>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-3 col-md-2">
                            <button class="btn btn-primary navbar-btn pull-right"><span class="glyphicon glyphicon-plus"></span> New API</button>
                        </div>
                    </nav>
                    <div class="panel-body" style="overflow: auto;">
                        <div class="panel-group" id="accordion" style="margin-bottom: 0;">
                        </div>
                    </div>
                     <div class="panel-footer" style="text-align: right">
    		            <ul id="pagination" class="pagination-sm" style="margin: 0px;"></ul>
    		        </div>
                </div>
            </div>
        </div>
    </div>
    <div class="modal fade" id="appApiActionModal">
        <div class="modal-dialog big-modal">
            <div class="modal-content">
                <div class="modal-header">
                    <button class="close" data-dismiss="modal"><span>&times;</span></button>
                    <h3 class="modal-title">新建API</h3>
                </div>
                <div class="modal-body">
                    <form action="">
                        <div class="form-group">
                            <label>标题</label>
                            <input type="text" class="form-control">
                        </div>
                        <div class="form-group">
                            <label>内容</label>
                            <textarea class="form-control" style="height: 550px; width: 100%;"></textarea>
                        </div>
                    </form>
                </div>
                <div class="modal-footer">
                    <button class="btn btn-warning" data-dismiss="modal">取消</button>
                    <button class="btn btn-primary">确定</button>
                </div>
            </div>
        </div>
    </div>
<script src="${contextPath}resources/js/lib/jquery.twbsPagination.js"></script>
<script src="${contextPath}resources/js/lib/highlight.pack.js"></script>
<script src="${contextPath}resources/js/lib/wangEditor-1.3.13.2.js"></script>
<script src="${contextPath}resources/js/biz/application/api.js"></script>
<#include "/decorator/footer.ftl">
